using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.DataParseStorage
{

	/// <summary>
	/// 当前案件中的所有实体数据
	/// </summary>
	[JsonObject(MemberSerialization.OptIn), Table(Name = "an_anjianshiti", DisableSyncStructure = true)]
	public partial class An_anjianshiti {

		/// <summary>
		/// 主键ID
		/// </summary>
		[JsonProperty, Column(Name = "anjianshitiid", StringLength = 200, IsPrimary = true, IsNullable = false)]
		public string Anjianshitiid { get; set; }

		/// <summary>
		/// 案件id
		/// </summary>
		[JsonProperty, Column(Name = "anjianid", StringLength = 200, IsNullable = false)]
		public string Anjianid { get; set; }

		/// <summary>
		/// 别名
		/// </summary>
		[JsonProperty, Column(Name = "bieming", StringLength = 200)]
		public string Bieming { get; set; }

		/// <summary>
		/// 地址
		/// </summary>
		[JsonProperty, Column(Name = "dizhi", StringLength = 200)]
		public string Dizhi { get; set; }

		/// <summary>
		/// 简称
		/// </summary>
		[JsonProperty, Column(Name = "jiancheng", StringLength = 200)]
		public string Jiancheng { get; set; }

		/// <summary>
		/// 名称
		/// </summary>
		[JsonProperty, Column(Name = "mingcheng", StringLength = 200)]
		public string Mingcheng { get; set; }

		/// <summary>
		/// 关联卷宗id
		/// </summary>
		[JsonProperty, Column(Name = "shujuid", StringLength = 200)]
		public string Shujuid { get; set; }

		/// <summary>
		/// 性别
		/// </summary>
		[JsonProperty, Column(Name = "xingbie", StringLength = 200)]
		public string Xingbie { get; set; }

		/// <summary>
		/// 状态
		/// </summary>
		[JsonProperty, Column(Name = "zhuangtai")]
		public int? Zhuangtai { get; set; }

		/// <summary>
		/// 出庭情况 0.未出庭 1.已出庭
		/// </summary>
		[JsonProperty, Column(Name = "chutingqk")]
		public string Chutingqk { get; set; }

        /// <summary>
        /// 案件实体对应角色
        /// </summary>
        [Navigate(nameof(An_anjianshitijuese.Anjianshitiid))]
		public virtual List<An_anjianshitijuese> Anjianshitijueses { get; set; }
	}

}
